<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>移除curl批处理句柄资源中的某个句柄资源</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.curl-multi-init.html">curl_multi_init</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.curl-multi-select.html">curl_multi_select</a></div>
 <div class="up"><a href="ref.curl.html">cURL 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.curl-multi-remove-handle" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">curl_multi_remove_handle</h1>
  <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">curl_multi_remove_handle</span> &mdash; <span class="dc-title">移除curl批处理句柄资源中的某个句柄资源</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.curl-multi-remove-handle-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>curl_multi_remove_handle</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$mh</code></span>
   , <span class="methodparam"><span class="type">resource</span> <code class="parameter">$ch</code></span>
   )</div>

  <p class="para rdfs-comment">
   从给定的批处理句柄<em><code class="parameter">mh</code></em>中移除<em><code class="parameter">ch</code></em>句柄。当<em><code class="parameter">ch</code></em>句柄被移除以后，仍然可以合法地用<span class="function"><a href="function.curl-exec.html" class="function">curl_exec()</a></span>执行这个句柄。当正在移除的句柄正在被使用，在处理的过程中所有的传输任务会被终止。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.curl-multi-remove-handle-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    <dt>
<em><code class="parameter">mh</code></em>
</dt>
<dd>
<p class="para">由 <span class="function"><a href="function.curl-multi-init.html" class="function">curl_multi_init()</a></span> 返回的 cURL 多个句柄。</p></dd>

    <dt>
<em><code class="parameter">ch</code></em>
</dt>
<dd>
<p class="para">由 <span class="function"><a href="function.curl-init.html" class="function">curl_init()</a></span> 返回的 cURL 句柄。</p></dd>

   </dl>

  </p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-function.curl-multi-remove-handle-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回一个cURL句柄，失败时返回<strong><code>FALSE</code></strong>。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.curl-multi-remove-handle-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.curl-init.html" class="function" rel="rdfs-seeAlso">curl_init()</a> - 初始化一个cURL会话</span></li>
    <li class="member"><span class="function"><a href="function.curl-multi-init.html" class="function" rel="rdfs-seeAlso">curl_multi_init()</a> - 返回一个新cURL批处理句柄</span></li>
    <li class="member"><span class="function"><a href="function.curl-multi-add-handle.html" class="function" rel="rdfs-seeAlso">curl_multi_add_handle()</a> - 向curl批处理会话中添加单独的curl句柄</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.curl-multi-init.html">curl_multi_init</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.curl-multi-select.html">curl_multi_select</a></div>
 <div class="up"><a href="ref.curl.html">cURL 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
